//
//  MsgCell.h
//  WeiMo
//
//  Created by Lixiaoyong on 13-3-22.
//  Copyright (c) 2013年 . All rights reserved.
//
//  消息cell定制

#import <UIKit/UIKit.h>

#import "UIGlossyButton.h"
#import "TouchImageView.h"

@protocol MsgCellDelegate <NSObject>

- (void)clickedInboxSender:(NSString *)senderId userType:(NSString *)userType;//点击通告发送者

- (void)senderMessageClicked:(int)tag;//发送个人资料

@end


@interface MsgCell : UITableViewCell <TouchImageViewDelegate>
@property (nonatomic,retain) TouchImageView *headImage;//头像
@property (nonatomic,retain) UIImageView *headIdentify;//认证
@property (nonatomic,retain) NSString *headImageUrl;//头像
@property (nonatomic,retain) UILabel *title;//发布者名字
@property (nonatomic,retain) UILabel *content;//内容
@property (nonatomic,retain) UILabel *time;//时间
@property (nonatomic,copy) NSString *inboxSenderId;//通告发送者id
@property (nonatomic,copy) NSString *userType;
@property (nonatomic,retain) UIButton *sender;//发送

@property (nonatomic,assign) id<MsgCellDelegate> delegate;

- (void)refreshRect;
@end